package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import springfox.documentation.spring.web.json.Json;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PAD_STITCH_LOG")
@ApiModel(value="PadStitchLog对象", description="Pad操作日志")
public class PadStitchLog {

    private String companyId;

    private String deptNo;

    private String deptName;

    @JsonIgnore
    private String sysUser;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @DateTimeFormat("yyyy/MM/dd")
    private Date sysDate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("操作类型（增删改查：ZSGC）")
    private String operationType;

    @ApiModelProperty("操作类型（增删改查：ZSGC）")
    private String operationTypeName;

    @ApiModelProperty("操作对象(操作数据)")
    private String operationObject;

    @ApiModelProperty("操作结果(成功1，失败0)")
    private BigDecimal operationResult;
}
